package org.mdrtwell.jdk15;

public class EnumTest {
	public static void play(Opertions oper) {
		switch (oper)
			{
			case TURN_LEFT:
				System.out.println(" ����ת ");
			case TURN_RIGHT:
				System.out.println(" ����ת ");
			case SHOOT:
				System.out.println(" ��� ");
			}
	}

	public static void main(String[] args) {
		play(Opertions.SHOOT);
	}

	enum Opertions {
		TURN_LEFT, TURN_RIGHT, SHOOT;
	}
}
